package com.cmwa.solution.business.investTrade.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cmwa.solution.base.entity.Page;
import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.investTrade.dao.OrderRiskManageDao;
import com.cmwa.solution.business.investTrade.entity.OrderRiskManageVo;
import com.cmwa.solution.business.investTrade.service.OrderRiskManageService;

/**
 * 订单风控管理业务层接口
 * @author ex-chenbq
 *
 */
@Service	
public class OrderRiskManageServiceImpl implements OrderRiskManageService{

	@Autowired
	private OrderRiskManageDao orderRiskManageDao;
	
	/**
	 * 分页查询订单风控管理数据
	 * @param param
	 * @return
	 */
	public Page<OrderRiskManageVo> queryOrderRiskManageListPage(SearchParam param) {
		List<OrderRiskManageVo> items = orderRiskManageDao.queryOrderRiskManageListPage(param);
		return Page.create(items, param.getStart(), param.getLimit(), param.getTotal());
	}
}
